package grame;

import java.awt.Color;

public class Coin 
{
	public static final Color COLOR=Color.yellow;
	private int worth;
	private Coordinates pos;
	private boolean win, rendered;
	public Coin(int worth, Coordinates pos, boolean win)
	{
		this.worth=worth;
		this.pos=pos;
		this.win=win;
		this.rendered=false;
	}
	public int getWorth()
	{
		return this.worth;
	}
	public Coordinates getPos()
	{
		return this.pos;
	}
	public boolean isWin()
	{
		return this.win;
	}
	public boolean isRendered()
	{
		return this.rendered;
	}
	public void setRendered(boolean f)
	{
		this.rendered=f;
	}
}

